package org.railage.server.dao;

import java.util.List;

import org.railage.server.entities.TicketOfUser;

/**
 * DAO for TicketOfUser entity.
 * 
 * @author Cyril Fertikov
 * 
 */
public interface TicketOfUserDAO {

	/**
	 * Gets bought tickets information for given user.
	 * 
	 * @param userID
	 *            User ID.
	 * @return List of tickets.
	 */
	List<TicketOfUser> getAllTicketsOfUser(int userID);
}
